﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AutoLog
{
    public partial class AddUser : Form
    {
        public AddUser()
        {
            InitializeComponent();
        }

        private void btnSubmit_Click( object sender, EventArgs e )
        {
            string info = "First Name: " + tbFName.Text + "\n";
            info += "Last Name: " + tbLName.Text + "\n";
            info += "License State: " + cbState.SelectedText.Split(": ".ToCharArray())[1] + "\n";
            info += "License Number: " + tbLicenseNo.Text;
            if ( MessageBox.Show( "Is the following information correct?\n" + info,
                                "Verify Information",
                                MessageBoxButtons.YesNo,
                                MessageBoxIcon.Question,
                                MessageBoxDefaultButton.Button2 ) == System.Windows.Forms.DialogResult.Yes )
            {
                
            }
        }
    }
}
